export {default as WebComponents} from './bin/webComponents';
export {default as Route} from './bin/route';
export {default as Link} from './bin/WcLink.vue';
export {default as RouteView} from './bin/RouteView.vue';
export {default as container } from './bin/container'
import Route from './bin/route';

// 一些配置项
export const config = {
  dom: null,
  route: null,
  store: null
}

export function start(dom, routeData, store) {
  config.dom = dom
  config.route = routeData
  config.store = store
  routeData.rootDom = dom
  new Route(routeData)
}

const wc = {
  start,
}

export default wc